0

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

sodiumnitrate
  • 2,899
  • 6
  • 30
  • 49

1 Answers1

1

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.

paxdiablo
  • 854,327
  • 234
  • 1,573
  • 1,953