Reputation: 1670
I am trying to convert the likes of 0.004
to 0.4%
(call it bill_rate
).
Is there a built in function for percentage, or any easy way to do that?
Upvotes: 1
Views: 1312
Reputation: 1269503
Well, there is * 100
. I think you want:
select to_char(bill_rate * 100, '0.0') || '%'
Upvotes: 2