Skip to content
Snippets Groups Projects
Commit 66cc77e5 authored by Harshith DS's avatar Harshith DS
Browse files

TMSS-1847: Code cleanup

parent 16b7b28b
No related branches found
No related tags found
1 merge request!894Resolve TMSS-1847, TMSS-1695
...@@ -38,8 +38,7 @@ const Validator = { ...@@ -38,8 +38,7 @@ const Validator = {
} }
} }
if(angleType === 'deg_format') { if(angleType === 'deg_format') {
let radianValue = UnitConverter.getAngleOutput(value.replace('d', '').replace('egree', '').replace('s', '').replace(' ', ''), true) let radianValue = UnitConverter.getAngleOutput(value.replace('d', '').replace('egree', '').replace('s', '').replace(' ', ''), true);
console.log(radianValue)
if(radianValue< 0 || radianValue > 6.283185306694774){ if(radianValue< 0 || radianValue > 6.283185306694774){
return false return false
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment