Open JoCRaM opened 10 years ago
also headings and bearings.
PRINT ROUND(v:BEARING).
doesn't
is the "proper" fix to teach it how to cast floats do doubles when it needs to?
OOOps, forgot to mention the work arounds in case anyone is searching for this:
LOCK vessel_foo_direction to VESSEL("foo"):DIRECTION. LOCK vessel_foo_distance to VESSEL(:"foo"):DISTANCE.
and so on.
These are issues from the conversion from using floats to double per default. I plan on fixing all the float returns to doubles after i get some of the bigger fixes merged. I also don't recall what ones i fixed in previous pulls and don't want to fix them in two pulls.
EDIT: seems i need to do this for the save file fix. I'll add it to the top of my list.
possibly similar to #244 - I see it's cast to a float too.
SET d TO VESSEL("test"):DISTANCE+5. Can't add a number to a number.