User talk:Jerros

Hi. I reverted your edits to the Hermite function on the Mathfx page primarily because you added the f suffix to the floats in the Javascript version. This isn't necessary, because unmarked decimal numbers are always floats in Unity's Javascript. The f suffix is optional in 3.0, but will result in a syntax error in earlier versions, so it's better to omit it for the benefit of those who haven't upgraded.

I also removed the extra brackets as operator precedence already deals with this situation. The * operator has higher precedence than -, so "a - b * c" will always be evaluated as "a - (b * c)" and not "(a - b) * c". You might still prefer to put the brackets in for reasons of clarity. --NCarter 00:49, 23 October 2010 (PDT)