Find rounding functions VB6.0 ?

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Find rounding functions VB6.0 ?

Hybrid View

  1. #1
    Join Date
    Mar 2008

    Find rounding functions VB6.0 ?

    I want to find rounding functions. In VB60. The function can be fulfilled in the for example below

    for example:

    794.5 = 795

    843.4 = 843

    245.345 = 245

    I used the function: Round(), Int(), Fix() but not.

  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    How are the variables that store the numbers declared?

    If they are declared as Long, the decimal portion will be rounded for you leaving only a whole number.

Similar Threads

  1. Rounding a value
    By burung in forum Java
    Replies: 1
    Last Post: 08-14-2005, 07:11 PM
  2. Replies: 2
    Last Post: 09-17-2001, 06:41 PM
  3. Rounding UP
    By anonymous in forum VB Classic
    Replies: 1
    Last Post: 08-06-2001, 09:50 AM
  4. Rounding Up
    By neilw in forum Database
    Replies: 3
    Last Post: 07-02-2001, 09:06 PM
  5. rounding
    By RAFrede in forum VB Classic
    Replies: 1
    Last Post: 05-26-2000, 11:58 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
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center