This other answer, by wrvhage, has the great property of working correctly for values like 3.005 rounded to two places (where sprintf is not). However, it needs a couple of tweaks to work for negative numbers.his answer by Roy Johnson improved this answer by wrvhage by dealing with negative numbers. This answer adds an improvement to handle the case where decimal places is zero, i.e. by not including the hanging decimal point, e.g.
a trim fitting jacket exudes heritage polish with diamond quilting epaulets and buffalo horn buttons an attached half belt shapes the back waist and classic checks line the multi season style color s black canvas dark olive navy parade red brand burberry brit style name burberry brit ashurst quilted jacket style number 1099140
Jet black cotton 'Balmoral' trench coat from Burberry London featuring a classic collar, a double front button fastening, a buckled belt at the waist, long sleeves with buckled cuffs, side pockets and a signature Burberry House check print lining.conic checks line the interior of a modern trench coat cinched with an adjustable belt at the waist for style and structure. Tonal topstitching and gleaming metal hardware polish the design. 36 length (size 8). Front button closure with hook-and-bar and button-tab at collar. Epaulets.