Skip to content

Commit 25f6141

Browse files
committed
Fix explanation of Integer.valueOf
1 parent 9d80894 commit 25f6141

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data/part-1/4-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ Other input types, such as integers, doubles, and booleans are also read as text
627627
## Reading Integers
628628

629629
<!-- Merkkijonon muuntaminen kokonaisluvuksi tapahtuu komennolla `Integer.valueOf`, jolle annetaan parametrina muunnettavan luvun sisältämä merkkijono. -->
630-
The `Integer.valueOf` command converts an integer to a string. It takes the string containing the value to be converted as a parameter.
630+
The `Integer.valueOf` command converts an string to an integer. It takes the string containing the value to be converted as a parameter.
631631

632632
<!-- ```java
633633
String lukuMerkkijonona = "42";

0 commit comments

Comments
 (0)