9
In the example below the result of the query instead of returning 7 is returned 5.
DECLARE @valor money = 10.6879
SELECT LEN(@Valor)
The impression I get is that when the number is the type money
, is considered only 2 decimal places.
What function would I use to return the exact number of characters of a money-type number?
This solved my problem, through this function I know exactly the number of characters of a number. Converting the number to float would also solve my problem?
– Ademilton Marcelo Nunes