valueOf Summary Returns the primitive double value wrapped by the System.Double object. Usage public double valueOf() Returns The primitive double value wrapped by the System.Double object. Description Returns the primitive double value wrapped by the System.Double object. Examples Basic Usage 123456import System; System.Double a = new System.Double(1.1d);System.Double b = new System.Double(2.2d);Console.log(a.valueOf()); // 1.1Console.log(b.valueOf()); // 2.2 Share HTML | BBCode | Direct Link