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
Loading
......@@ -38,8 +38,7 @@ const Validator = {
}
}
if(angleType === 'deg_format') {
let radianValue = UnitConverter.getAngleOutput(value.replace('d', '').replace('egree', '').replace('s', '').replace(' ', ''), true)
console.log(radianValue)
let radianValue = UnitConverter.getAngleOutput(value.replace('d', '').replace('egree', '').replace('s', '').replace(' ', ''), true);
if(radianValue< 0 || radianValue > 6.283185306694774){
return false
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment