Determines if the given number is so large that it requires scientific notation (e) when represented as a string.
e
import {requiresScientificNotation} from '@augment-vir/common';requiresScientificNotation(5); // falserequiresScientificNotation(999999999999999999999); // true Copy
import {requiresScientificNotation} from '@augment-vir/common';requiresScientificNotation(5); // falserequiresScientificNotation(999999999999999999999); // true
@augment-vir/common
Determines if the given number is so large that it requires scientific notation (
e
) when represented as a string.