Read-only archive of the All About Symbian forum (2001–2013) · About this archive

dividing...?

2 replies · 1,200 views · Started 08 December 2004

if you divide integers, you'll end up with an integer result. If you want to have a real result convert the ints to reals before division (curiously you can use the int function for this):

z = int(x%)/int(y%)