Automatic Decimal Placement
Posted: Tue Nov 02, 2010 2:56 pm
Hi,
I have a price file in the following format:
320 = £3.20
2500 = £25.00
27380 = £273.80
Is there a php function that will automatically place the decimal correctly or should I just write a function to place the decimal 2 digits from the right?
I have a price file in the following format:
320 = £3.20
2500 = £25.00
27380 = £273.80
Is there a php function that will automatically place the decimal correctly or should I just write a function to place the decimal 2 digits from the right?