View Single Post
Old 09-16-2012, 05:34 PM   PM User | #3
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,635
Thanks: 4
Thanked 2,448 Times in 2,417 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Modulo isn't the same in all languages, but I can't think of a C based language that doesn't use % as modulo. Always check the language basics documentation as they will indicate what the arithmetic and bitwise operations are (which I find are the ones that change the most). For example, in visual basic you use the Mod operator. Unfortunately implementation of modulo also changes slightly between languages.
The 'e' in this example isn't euler. Its exponent, so this is a block written an scientific notation. 0.3e+1 is the same as 3.0.
Fou-Lu is offline   Reply With Quote