Thread

PHP Numerical Accuracy (Sdk)

PHP Numerical Accuracy // Sdk

1  |  

hal9000

Nov 6, 2002, 7:04pm
Does anyone know how to specefy accuracy of a number when putting it into a
string in PHP?

IE: i have a number (lets say 12), and i want to put it into a string to say
"0012", or even in hex to say "000C", and also i want to do the same with
decimals, IE: 0.356263468374634643 to be cut to 0.3562.

any help would be appreciated, thanks


--
----==========----
Hal9000
Worlds
Discover Planets
Revolt76

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn