I want to remove . from all decimal value from my query output like if i use
select(32.00) output should come 3200
select(32.50) output should come 3250
select(32.05) output should come 3205
Is there is any function present to give me this output i dont want 3200.00 as output
if anyone know plz tell me how ?
You could multiply by 100 and cast to an integer:
That will give you an integer. If your values aren’t the
decimal(n,2)that they appear to be, then you might want to pull outround,floor, orceilto make your desired rounding or truncation explicit: