module Tracksperanto::PFCoords

Public Instance Methods

from_pfcoord(pf_value) click to toggle source
# File lib/tracksperanto/pf_coords.rb, line 6
def from_pfcoord(pf_value)
  pf_value.to_f + 0.5
end
to_pfcoord(xperanto_value) click to toggle source
# File lib/tracksperanto/pf_coords.rb, line 2
def to_pfcoord(xperanto_value)
  xperanto_value.to_f - 0.5
end