SyntaxFix
Write A Post
Hire A Developer
Questions
the easiest technique is to just assign float to int, for example:
int i; float f; f = 34.0098; i = f;
this will truncate everything behind floating point or you can round your float number before.