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 ?

  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.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Rounding a value
    By burung in forum Java
    Replies: 1
    Last Post: 08-14-2005, 08:11 PM
  2. Replies: 2
    Last Post: 09-17-2001, 07:41 PM
  3. Rounding UP
    By anonymous in forum VB Classic
    Replies: 1
    Last Post: 08-06-2001, 10:50 AM
  4. Rounding Up
    By neilw in forum Database
    Replies: 3
    Last Post: 07-02-2001, 10:06 PM
  5. rounding
    By RAFrede in forum VB Classic
    Replies: 1
    Last Post: 05-27-2000, 12:58 AM

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