-
Hello, generating code : output 1.24387809e+8 instead of 124387809 thank you |
Beta Was this translation helpful? Give feedback.
Answered by
josdejong
Dec 4, 2024
Replies: 1 comment
-
You can use the function const result = math.kron(
math.range(math.bignumber("11111"), math.bignumber("11211")),
math.range(math.bignumber("11111"), math.bignumber("11211"))
)
console.log(math.format(result, { upperExp: Infinity }))
// [[123454321, 123465432, 123476543, 123487654, 123498765, ... Docs: https://mathjs.org/docs/reference/functions/format.html |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nycos62
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the function
format
intsead oftoString
:Docs: https://mathjs.org/docs/reference/functions/format.html