icodeinq
New Contributor
since ‎2021.06.11
‎2021.06.14

User Statistics

  • 2 Posts
  • 0 Solutions
  • 0 Kudos given
  • 0 Kudos received

User Activity

The function should return the same negative value as it is passed to itInput passed: FormatNumber[enlist -0.331,15]Output Should be as "-0.331"but my Code output is "-1.699"FormatNumber:{[col;DecimalPlaces] Rows:count col; $[DecimalPlaces<=4;afterDe...
Function Name: FormatNumber[col;DecimalPlaces]Parameters Passed [enlist 0.119;15] / til 15 decimal placesoutput will be "0.119"but when negative values are passed to it should return the same result after calculating the decimalPlacesFormatNumber[enl...