These functions help make sure angle values are the
right double values expected by the configurations used by
piecepackr::game_systems() and ppn::read_ppn().
If the input is numeric it simply uses as.double() and if the
input is character it tries to cast to a reasonable value.