Results 1 to 2 of 2

Thread: Number

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2002
    Location
    INDIA
    Posts
    169

    Number

    Hi I have some numbers like....

    1.00
    1.50
    1.55
    11.55
    112.47
    2344.76 etc. I want to find the value after the decimal point.

    how to do it?

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. Private Sub Command1_Click()
    2. Dim d As Double
    3.  
    4.     d = 11232.345446
    5.    
    6.     MsgBox d - Int(d)
    7.    
    8. End Sub
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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