List Info

Thread: Format Decimals for Calculator




Format Decimals for Calculator
country flaguser name
United States
2008-03-30 13:14:53

I would like to be able to specify the number of decimal positions to
display on my calculator program (in files section). Example in the
VB6 software uses:
MyStr = Format(334.9, "###0.00") ' Returns "334.90".

Any ideas how to make the number of decimals displayed a variable base
upon the input in a textbox window labeled "txtDecimals".

Bart

__._,_.___
.

__,_._,___
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )