Skip to content

Commit 0bb6f15

Browse files
fix typos toToTb and sumAllDighti
1 parent 5e65120 commit 0bb6f15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ The first few Fibonacci numbers are:
124124
### sumAllDigit
125125
Function that takes a number and returns sum of the digit the given number.
126126

127-
console.log(solverjs.sumAllDighti(123));
127+
console.log(solverjs.sumAllDigit(123));
128128
// The output is : 6
129129

130130
### reverseNumber
@@ -1775,14 +1775,14 @@ and returns the corresponding digital storage value converted to Megabytes.
17751775
console.log(solverjs.tbToMb(1))
17761776
// The output is : 1000000
17771777

1778-
#### Terabyte to Gigabyte => tbToTb(TB)
1778+
#### Terabyte to Gigabyte => tbToGb(TB)
17791779

17801780
1 TB=1000 GB
17811781

1782-
The tbToTb method takes a digital storage value in Terabytes
1782+
The tbToGb method takes a digital storage value in Terabytes
17831783
and returns the corresponding digital storage value converted to Gigabytes.
17841784

1785-
console.log(solverjs.tbToTb(1))
1785+
console.log(solverjs.tbToGb(1))
17861786
// The output is : 1000
17871787

17881788
#### Terabyte to Petabyte => tbToPb(TB)

0 commit comments

Comments
 (0)