Skip to content

Commit efc1249

Browse files
authored
Change ''D" to "d" in <gives you the String "D"> (arduino#831)
Perhaps the code has changed over time, but this documentation change is for the reference to reflect reality. Also consider changing the code to perhaps accept HEX_UPPER & HEX_LOWER.
1 parent 7b06be6 commit efc1249

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Language/Variables/Data Types/stringObject.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ gives you the String "13". You can use other bases, however. For example,
3636
String thisString = String(13, HEX);
3737
----
3838

39-
gives you the String "D", which is the hexadecimal representation of the decimal value 13. Or if you prefer binary,
39+
gives you the String "d", which is the hexadecimal representation of the decimal value 13. Or if you prefer binary,
4040

4141
[source,arduino]
4242
----

0 commit comments

Comments
 (0)