2017-09-19 10:08:37 +13:00

13 lines
211 B
JavaScript

function Angle(angle_str = "0'")
{
Unit.call(this);
this.example = "45'";
this.degrees = parseFloat(angle_str.replace('\'',''));
this.toString = function()
{
return this.degrees+"'";
}
}