Function decodeAngle

decode angle; only Ndeg format for now

static uint decodeAngle(
  string s
);