Could anybody try this code:

Code:
#include<acknex.h>
#include<default.c>

var testing = 0;

PANEL* backgrnd =
{
	layer = -998;
	digits(400, 500, "Frame Rate: %3.5f", *, 1, testing);
	digits(400, 530, "Time Step: %3.5f", *, 1, time_step);
	flags = SHOW;
}

void main()
{
	fps_max = 60;
	video_set(1024, 768, 32, 2);
	sky_color.red = 0;
	sky_color.green = 0;
	sky_color.blue = 0;
	testing = (float)(16/time_step);
	level_load("");
}



I can get an output of
Frame Rate: 123.18750
Time Step: 0.26660

But where did the engine get a value of 123.18750 if 16/0.26660 = 60.015

If anybody knows why, maybe I need an explanation...
I've tried to cast everything to float but still the output is the same?

Why?



Can't is not an option™