How to format Number Field in ASP

Results 1 to 2 of 2

Thread: How to format Number Field in ASP

  1. #1
    Join Date
    Dec 1969
    Posts
    866

    Default How to format Number Field in ASP

    My problem is, when I enter a value like 100.30 for a number(5,2) field, I only see 100.3 is saved in the database. The 0(zero) is missing after 3 in the decimal place. But it works fine for the values like 100.35<BR><BR>Any help please?

  2. #2
    Mukesh Sachdev Guest

    Default RE: How to format Number Field in ASP

    In VBScript there is a function FormatNumber<BR><BR>FormatNumber(value,digits after decimal places,-1, 0,0)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •