Number – Talk

From Bohemia Interactive Community
Revision as of 03:55, 15 February 2007 by Ceeeb (talk | contribs) (precision?)
Jump to navigation Jump to search

I delete a reference to Integer, because there is no such type in OFP scripting.

--Suma 11:36, 30 June 2006 (CEST)


Is anyone sure on the precision at which numbers can be stored as variables? As a non-programmer, I find this behaviour quite strange.

OFP example : var1 = 123456789
var1 = var1 - 100000000
var1 = var1 - 20000000
var1 = var1 - 3000000
var1 will return 456792