Julia studio write() error

56 Views Asked by At

I am getting the weirdest error in using the write()function:

julia> write(0.1)
�8

julia> 
������?

These are just the commands I'm writing in the console, as you can see. What could be going wrong?

Note: I'm using Julia Studio 0.4.4

1

There are 1 best solutions below

1
paxdiablo On BEST ANSWER

From the documentation:

write(stream, x): Write the canonical binary representation of a value to the given stream.

I suspect that you want to use print rather than write.