Hey I am trying to get 12.0 as answer but getting 12 how can i turn this number into a float,

  double, ecmascript-6, floating-point, javascript, python

As you can see I am trying to getting 12.0. But instead i am getting 12 how can i add a 0 and make this number to a float please help

*JavaScript

 let a = 6.0;
    let b = 6.0;
    console.log(a);

Source: Python Questions

LEAVE A COMMENT