Results 1 to 3 of 3

Thread: Best way to remove decimal point ?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2002
    Posts
    17

    Best way to remove decimal point ?

    If I have a textbox and the value = 12.00 what is the best way to strip out the decimal so that it looks like 1200 ?

    Thanks for any help.

  2. #2
    Addicted Member
    Join Date
    Jan 2001
    Location
    MPLS
    Posts
    187
    Try
    Text1.Text = Replace(Text1.Text, ".", "")

  3. #3
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    multiply it by 100... another way to do it...
    Last edited by nemaroller; Jul 25th, 2002 at 06:14 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width