ScriptBasic is a LGPL open source Basic interpreter so I don't get your point saying I'm pimping my product.

'Declare the arbitrary precision variables lA = nu_AllocVar(%nu_DT_BinFloat) lB = nu_AllocVar(%nu_DT_BinFloat) lC = nu_AllocVar(%nu_DT_BinFloat) 'Enter the arbitrary precision numbers nu_PutString_DS("123.4567899*d-98765", lA) nu_PutString_DS("9*d12345", lB) 'Perform the multiplication nu_Mul(lA, lB, lC) 'calculates C = A * B 'Get the result msgbox nu_GetAny_DS(lC)
'Declare the arbitrary precision variables nuDeclare lA AS %nu_DT_BinFloat nuDeclare lB AS %nu_DT_BinFloat nuDeclare lC AS %nu_DT_BinFloatat) 'Enter the arbitrary precision numbers lA = "123.4567899*d-98765" lB = "9*d12345" 'Perform the multiplication lC = lA * lB 'calculates C = A * B 'Get the result msgbox lC
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment