How to remove decimal from currency datatype?
Try something like this
Console.WriteLine(value.ToString("C2"))
where value is your variable and it will print the value two place after decimal. To get the value with no decimal try -
Console.WriteLine(value.ToString("C0"))
Check the following links would be more helpful for you... http://msdn.microsoft.com/en-us/library/dwhawy9k.aspx http://msdn.microsoft.com/en-us/library/0c899ak8.aspx
How to remove digits after decimal in vb.net?
if value is 1.9 i want 1 if value is 1.1 i want 1