Consider a number
number = 2.*10^20
It is in the representation of ScientificForm.
I convert it to C-form:
numberc=CForm[number]
How to convert it back?
Consider a number
number = 2.*10^20
It is in the representation of ScientificForm.
I convert it to C-form:
numberc=CForm[number]
How to convert it back?
numberc[[1]]you will get back the original number.cf = number // CFormthen thenumberis just the first part of theCForm, i.e.,number === cf[[1]]– Bob Hanlon Jun 06 '23 at 14:57