Page 120 - CG_v2.1_flipBooks_class_5
P. 120

It converts a variable input to either true or
                                                                  false.

                                                                  It  converts  all  the  letters  in  a  variable  to
                                                                  upper case.


                                                                  It  converts  all  the  letters  in  a  variable  to
                                                                  lower case.


                  Convert a Floating Number to an Integer

                  To covert a floating number to an integer number in AI Connect, do the following coding and
                  click on Run button:




















                  Convert a String Input to a Number

                  To convert a string input to a number in AI Connect, do the following coding and click on
                  Run button:


























                        The technical description of a string is an array of characters. The informal
                        view of a string is a sentence. Strings are almost always written in code as a

                        quoted sequence of characters, for example: “this is a string”.



                      118    Computer Genius (V2.1)-V
   115   116   117   118   119   120   121   122   123   124   125