[Wien] Wien Digest, Vol 147, Issue 4

Víctor Luaña Cabal victor at fluor.quimica.uniovi.es
Sun Feb 25 06:39:16 CET 2018


On Sun, Feb 25, 2018 at 06:06:39AM +0000, Badis Bennecer wrote:
> Dear Victor,
> 
> 
> It is minus signs

Badis,

Sorry, but my main question was the language (computer language).
Otherwise

print (( 2.11118*2)*2+(-0.31749*2)+( -0.98948))

the result is 6.82026

Maybe you were using some form of lisp? The odd number of parenthesis:
open 5, close 4, were my main trouble. I had to add an extra ")".  Of
course,  minus signs obtained from web pages may cause awful errors so
it is important to prevent that.

Best regards,
              Víctor Luaña


More information about the Wien mailing list