I need some assistance converting or casting my money fields in SQL.
My field:
pva.OrigInsAllocation + pva.OrigPatAllocation AS [Total Charges]
Current Results:
500.00
29125.00
662.00
Desired Output
50000
2912500
66200
I tried
but it changed 29125.00 to 2912500.00. How do I chop off the .00 on each?
My field:
pva.OrigInsAllocation + pva.OrigPatAllocation AS [Total Charges]
Current Results:
500.00
29125.00
662.00
Desired Output
50000
2912500
66200
I tried
Code:
CAST( (pva.OrigInsAllocation + pva.OrigPatAllocation ) * 100 as Bigint ) AS [Total Charges]
but it changed 29125.00 to 2912500.00. How do I chop off the .00 on each?