KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a Double value: double a = 4.5565; What is the easiest way to calculate the number of digits after the decimal point (4 in this case). I know that I can convert to string and do a split and take the length. But is there an easier way?
Tags (comma-separated)
Save Edits
Cancel