ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
PHP Numerical Accuracy (Sdk)
PHP Numerical Accuracy // Sdkhal9000Nov 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 |