Page 1 of 1 1
Topic Options
#51082 - 2000-08-19 11:13 PM Calculating
Rogier Pelzer Offline
Fresh Scripter

Registered: 2000-02-04
Posts: 41
Loc: The Netherlands
Hi,

i want to calculate with no integers.
something like 2 * 2.2223
Is there a special function for this or isn't it posible ?

Thanks,

Rogier

Top
#51083 - 2000-08-21 08:09 PM Re: Calculating
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Rogier,

no way to get KIX calculating with real floating point operations ... [a real pain in the butt $%&**§#*+]

The only way would be a quasi-workaround with Semi-correct results:

try to multiply the amount of digits after the . with a decimal that refers to it , then move the . leftwards again ...

Best with an array or something

bonne chance
Jochen

_________________________



Top
#51084 - 2000-08-21 09:37 PM Re: Calculating
Anonymous
Unregistered


YEAH! HEY RUUD! IF YOU CAN HEAR US FROM DOWN HERE: WE NEEEEEEED FLOATING POINT OPERATIONS!

..think he heard me? *grin*

Top
Page 1 of 1 1


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

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.058 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