Previous I have written an article about formating interger into number of decimal places in Java. The main reason to store money value in integer in to prevent loss in precision. For example the actual value for 12.33 in float could be 12.3333333333...; while 1233 in integer is always 1233. Today I will be showing you the same code but in PHP language. I know you can do the … [Read more...]
You are here: Home / Archives for decimal