augment-vir - v31.13.0
    Preparing search index...

    Function requiresScientificNotation

    • Determines if the given number is so large that it requires scientific notation (e) when represented as a string.

      Parameters

      • input: number

      Returns boolean

      import {requiresScientificNotation} from '@augment-vir/common';

      requiresScientificNotation(5); // false
      requiresScientificNotation(999999999999999999999); // true