Thanks. I can also use typeof(), i just somehow assumed that strings would print as "strings" by default...
Cheers! On 26 September 2016 at 15:17, Fábio Cardeal <[email protected]> wrote: > "Any reason?" > "None that I can think of..." > "But you can use *show *if you need 'em" > "You'll need to put the newline yourself after it, tho." > "there is also* display*, *@show*... Take a look here: > http://docs.julialang.org/en/release-0.5/stdlib/io-network/#text-i-o" > "" > "Good luck!" > > if need 'em" > > Em segunda-feira, 26 de setembro de 2016 09:18:26 UTC-3, MLicer escreveu: >> >> Dear all, >> >> REPL prints strings enclosed in double quotation marks, like so: >> >> "9999.0" >> >> Is there any reason why println() in a script prints strings *without* >> double quotation marks, like so: >> >> 9999.0 >> >> , where 9999.0 is actually "9999.0"? I just spent a good deal of time >> debugging my code due to this property without realizing i am actually >> comparing *floats* to *strings...* >> >> Best regards! >> >
