1 The format command controls the appearance of numbers and
1. The format command controls the appearance of numbers and expressions in the Command Window?
A. True B. False
2.After entering the assignment statement shown below, what will the type (class) of variable val be? >> val = 6 + 3
A. uint32 B. int32 C.double D.logical
Solution
The format command controls the appearance of numbers and expressions in the Command Window ?
this above statement is true because using format command we have control over the value that is apper to the user
for example:
now if we do format short
then output will be 1.3333
and if we do format long then output will be :
and for the second question int32 type(class) will be used because 6 and 3 are integer number and addition of both will store in integer
