Search the web
Sign In
New User? Sign Up
hotbasic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Floor Ceiling   Message List  
Reply | Forward Message #16636 of 17145 |
Re: [HotBasic] Floor Ceiling

>Might it be worthwhile to update the native ceil/floor HB functions to the more
advanced functionality?

Nice idea, sir! While there is no objection to making such a
thing native, may I suggest, since you have prototype code, to
create a .lib of those functions (noting that FLOOR and CEIL
should already work to provide INTEGER/LONG results. The
"range" argument you mention seems to refer to rounding up or
down to a given number of fractional decimals -- that is, to
give an entirely different numeric type as a result -- namely,
DOUBLE or other floating type. Come to think of it, you might
consider making the outputs REAL10 giving you the best shot at
digital representation of your round up/down in range concept.
HTH, Jim




Mon Jul 13, 2009 4:59 pm

globalservices1
Offline Offline
Send Email Send Email

Forward
Message #16636 of 17145 |
Expand Messages Author Sort by Date

Hey Jim, Whilst we are at it, in coming to need a ceiling/rounding type function, and refreshing up on the fpround function, they all lack the ability to round...
enpsuedo
Offline Send Email
Jul 13, 2009
1:55 pm

... Nice idea, sir! While there is no objection to making such a thing native, may I suggest, since you have prototype code, to create a .lib of those...
doctor electron
globalservices1
Offline Send Email
Jul 13, 2009
4:02 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help