fix: missing sign when converting number to float