Page 1 of 1 1
Topic Options
#125565 - 2004-08-24 07:35 PM Rounding Real Numbers
smudley Offline
Fresh Scripter

Registered: 2004-07-15
Posts: 16
Loc: Texas of Course!
I've seen some talk about it in the forums, but (I) haven't found any Round() function. I have some real numbers (i.e. 0.1262583468) that I want to round to 4 decimal places (i.e. 0.1263).
Can I not see the forest for all the trees?
Any help will be appreciated.
_________________________
Thanks, Smudley

Top
#125566 - 2004-08-24 07:45 PM Re: Rounding Real Numbers
Stanley Offline
Starting to like KiXtart

Registered: 2004-06-03
Posts: 130
Loc: Upstate NY, USA
It is in the manual
ROUND(EXPRESSION,DECIMALPLACES)
_________________________
Taxation WITH representation isn't so hot, either!

Top
#125567 - 2004-08-24 07:46 PM Re: Rounding Real Numbers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, it's in the manual for sure.
and so it's in:
http://kixtart.org/manual_index.html

just wonder, where you have looked if you didn't find that.
_________________________
!

download KiXnet

Top
#125568 - 2004-08-25 05:53 AM Re: Rounding Real Numbers
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
In addition to other rounding functions as well.
_________________________
There are two types of vessels, submarines and targets.

Top
#125569 - 2004-08-25 11:22 PM Re: Rounding Real Numbers
smudley Offline
Fresh Scripter

Registered: 2004-07-15
Posts: 16
Loc: Texas of Course!
In my defense I downloaded the .chm version at scriptlogic KiXtart 4.02 Reference and it does not have it listed there.
Thanks any how.
Is there an updated .chm file?


Edited by smudley (2004-08-25 11:24 PM)
_________________________
Thanks, Smudley

Top
#125570 - 2004-08-25 11:40 PM Re: Rounding Real Numbers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
sure, look in the kixtart.org main site under manual-doc
_________________________
!

download KiXnet

Top
#125571 - 2004-08-25 11:53 PM Re: Rounding Real Numbers
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Not sure where you found the 4.02 without some searching on SL site. But here is the link to 4.22 version of the helpfile.

http://download-east.scriptlogic.com/downloads/kix/kixtart422.chm

Top
#125572 - 2004-08-26 12:28 AM Re: Rounding Real Numbers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
not sure what was wrong in my instructions.
I can give direct link too:
http://www.kixtart.org/manual.html

there you have manual.doc, manual.pdf, reference chm and online reference.
just pick your favorite.
_________________________
!

download KiXnet

Top
#125573 - 2004-08-26 02:30 PM Re: Rounding Real Numbers
smudley Offline
Fresh Scripter

Registered: 2004-07-15
Posts: 16
Loc: Texas of Course!
Not trying to be a smarta$$ but I was mistaken where I got it from. I got it from here:

http://kixtart.org/manual.html

Under the:

Compiled Kixtart HelpFile by Scriptlogic Corporation (204kB CHM file)

part of the link.

There are two links in that sentence and the first one has the old help file. I just downloaded it twice just now to be sure I wasn't going crazy.
_________________________
Thanks, Smudley

Top
#125574 - 2004-08-26 02:48 PM Re: Rounding Real Numbers
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k, it indeed had a bad link.
instead of pointing to kixtart.chm it should have pointed to kixtart422.chm

thanks for pointing that out.
no wonder so many ppl are missing the correct keywords

well, not so much added after that, but some goodies, specially join() for proper splitJoining.

thanks again.
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 657 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.069 seconds in which 0.031 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org