#!/usr/bin/env node; const Utils = require('./Utils'); const main = async () => { const a = Utils.stodWithDefault(process.argv[2], 0); const b = Utils.stodWithDefault(process.argv[3], 0); const c = a + b; console.log(Utils.format("{0:f} + {1:f} = {2:f}", a, b, c)); } main().catch( e => { console.error(e) } );