During data entry (add/edit), I can enter as float 1234.56 (dollar and cent). But to save, I’ll like to store it as integer 123456 (so call cent)
And in list page, I prefer it to show in this format Rp 1.234,56 (like locale: id_ID)
My question is, I think the save part is quit straight forward, just do it in
Server Events → Table-Specific → Common → Row_Inserting & Row_Editing
$rsnew[‘price’] *= 100;
But where should I place the code for
$rsnew[‘price’] /= 100;
in order to show the output in list and during edit page as 1,234.56 or 1.234,56