Friday, November 20, 2015

Math.Sqrt in C#!

This means of getting a square root looks the same as it does in JavaScript as suggested here in terms of syntax, but you have to hand in a double as the type. You'll also get a double back. Er, well I guess it is Math.Sqrt(whatever) in C# and not Math.sqrt(whatever) as it is in JavaScript.

No comments:

Post a Comment