my big problem is how to get .01 in ASP after calculating
a-b, where a = 4.14 and b = 4.13
i have tried cdbl, eval,csng etc etc but not getting it
in vb if i typecasst it to cdec then it works fine..but cdec is not available in ASP
my big problem is how to get .01 in ASP after calculating
a-b, where a = 4.14 and b = 4.13
i have tried cdbl, eval,csng etc etc but not getting it
in vb if i typecasst it to cdec then it works fine..but cdec is not available in ASP
Last edited by sinha; Jun 17th, 2003 at 08:16 PM.
Thanks.
Code:<% a = 4.14 b = 4.13 Response.Write formatnumber(a-b,2) %>
--
Anglo Saxon
Thanks Anglo.
Thanks.