diff --git a/documentation/18.01/eiffel/Tutorials/Mini-HowTo/Getting-a-STRING-from-a-NUMERIC-object.wiki b/documentation/18.01/eiffel/Tutorials/Mini-HowTo/Getting-a-STRING-from-a-NUMERIC-object.wiki new file mode 100644 index 00000000..2e2a8ee2 --- /dev/null +++ b/documentation/18.01/eiffel/Tutorials/Mini-HowTo/Getting-a-STRING-from-a-NUMERIC-object.wiki @@ -0,0 +1,12 @@ +[[Property:uuid|B74D374E-895C-4F22-B95F-656BD78ECD03]] +[[Property:weight|0]] +[[Property:title|Getting a STRING from a NUMERIC object]] +[[Property:link_title|NUMERIC to STRING]] +Every class have the out method that can be used to get a text version of the object. For a lot of class, this method return internal informations that is not really usefull for the end user. But for every NUMERIC class, the out method return a text representation of the number that the NUMERIC object represent. + + + print_integer(a_integer:INTEGER) + do + print(a_integer.out + "%N") + end + \ No newline at end of file