CSharp examples for System:Double
Convert an fps value to the value needed to be written to memory
using System;/* ww w.j ava 2s. com*/ public class Main{ /// <summary> /// Convert an fps value to the value needed to be written to memory /// </summary> /// <param name="fps"></param> /// <returns></returns> public static double ConvertFPS(double fps) { return Math.Round((1000 / fps), 1); } }