NormalizeAngle.java 380B

1234567891011121314151617181920
  1. public class NormalizeAngle {
  2. public Integer normalizeValueUsingModulo(Integer angle){
  3. int normalizedAngle = angle%360;
  4. return normalizedAngle;
  5. }
  6. public Integer normalizeValueUsingFloorMod(Integer integer){
  7. //Integer normalizedAngle = Math.floor(integer)%360;
  8. return 0;
  9. }
  10. public static void main(String[] args){
  11. }
  12. }