Beispiel #1
0
 public static JsNumber Truncate(JsNumber number)
 {
     return(number < 0 ? JsMath.ceil(number) : JsMath.floor(number));
 }
Beispiel #2
0
 /// <summary>
 /// Standin for the isNaN() global Javascript function.
 /// </summary>
 /// <param name="number">The number to test whether it's a number</param>
 /// <returns>True if the specified number is not a number.</returns>
 public static extern bool isNaN(JsNumber number);
Beispiel #3
0
 public extern void css(string name, JsNumber value);