this however only worx for added values lke if someone typed it, if u want the form to do it automatically try this
this adds commas to thousands and adds a decimal point and also makes sure 2 digits are added after so if u have 4365 it will be 4,365.00 and if u have 43.567567 it will be 43.57 hope this helpsCode:$variable_containing_number = number_format ($same_variable, 2);![]()





Reply With Quote