GSAK (Geocaching Swiss Army Knife)
 

Contents - Index


NumToStr (function)

NumToStr( nNumber ) : string

Converts any number to a string, trimming spaces and suppressing zeros and decimal position where possible
NumToStr(43.450) = "43.45"
NumToStr(43.00) = "43"
NumToStr(43.451) = "43.451"

Also see the Str function and the complimentary Val function
Summary

Copyright 2004-2008 CWE Computer Services  
Privacy Policy Contact