Skip to content

Commit 979b2f0

Browse files
author
Vamsi Krishna
committed
Added Code to find absolute value
1 parent 737f43b commit 979b2f0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎Maths/absolute.js‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function findAbsoluteOf(number){
2+
return Math.abs(number);
3+
}
4+
5+
console.log(findAbsoluteOf(-100));

0 commit comments

Comments
 (0)