Getting the number of decimal places: Difference between revisions

A given number, not a given numeric string.
m (→‎{{header|Python}}: The task refers to 'a given number' (and shows no quotes around the sample values))
(A given number, not a given numeric string.)
Line 8:
and for num = 12.3450 decimals = 4
 
(Note that the reference implementation – in Ring – shows a function over a given '''number''' rather than a given numeric string, and that the sample values show above are not enclosed in quotes).
 
 
 
 
9,655

edits