>>>I'm sure there is an obvious answer but it's the weekend ...
>>>
>>>Given a numeric variable which may or may not have digits after the decimal point, what would be the quickest way to know the number of digits that occur after decimal point, zero or more?
>>
>>quickest
>>
>>
>>=MAX(LEN(CAST(m.Number % 1 AS M))-2,0)
>>
>>* significant decimals only
>>
>>=MAX(LEN(RTRIM(CAST(m.Number % 1 AS M),"0"))-2,0)
>>
>>
>
>
>Grazie mille Fabio.
Alla prossima.
Ciao Jos.