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"

Related: Str() Val()

Alpha List         Category List

Copyright 2004-2019 CWE Computer Services  
Privacy Policy Contact