The Daily Click ::. Forums ::. Klik Coding Help ::. Division
 

Post Reply  Post Oekaki 
 

Posted By Message

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
13th July, 2007 at 02:00:47 -

Does anyone know how to do surds? I want to do

1/2

but all counters give me is 0. Maybe a function containing it like int(0.5) exept the opposite.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
13th July, 2007 at 06:33:28 -

Counters do not suport floating point numbers very well. Though you could try this:

1.0/2.0

The dot zero at the end of the number will make the counter recognize they're floating point numbers, I believe.

 
Old member (~2004-2007).

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
13th July, 2007 at 08:22:28 -

AWESOME!

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
13th July, 2007 at 11:41:50 -



 
Old member (~2004-2007).
   

Post Reply



 



Advertisement

Worth A Click