formatDoubl js

JavaScript
FormatDouble
Source

Also in JavaScript: