0

I feel like I'm spamming you guys for help lately due to my poor internet search abilities... anyway, back and again with yet another question.

I'm wondering if there's a simple way to determine how many numbers are after the decimal place. ie: 100.00 has two vs. 100.0 which has one.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by Narue
0

That's an artifact of how you're displaying the value, not the value itself. The only solid way would be to convert your value to a string using the same formatting modifiers, then count how many digits show after the radix.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.