Hi all,
I do some calculation function. See below syntax on VB.NET :
DIm StrAnnualSalary as string = "20398.00"
averagemonthbasictemp = CInt(StrAnnualSalary) / 12
Output = 1700
But I want my output in currency format = 1699.83
Thanks
@asrul, refer this link
http://stackoverflow.com/questions/16581901/how-to-convert-answer-into-two-decimal-point-in-vb-net
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.