answersLogoWhite

0

sOutput has the value "12.3" (the string representation of 12.3f).

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

Will string float or sink in water?

Nope Most string should float on top of water becomes the string material is less dense than he water.


How do you convert float into string in python program?

str(3.1415)


Which function converts string into float?

in C: atof, strtod, sscanf


How do you move the decimal point without rounding in python?

float("0.%u" % string(float_num).replace(".",""))


How does Criss Angel make something float?

He has to use some kind of thin string or some optical allusion


How many bytes does float double long string and char store?

float usually 4 double usually 8 long is 8 but integer, unlike double string is a pointer to a memory address containing array of chars, so it doesn't have a fixed size and a char is usually 1, but i think its 2 in java


How can you use a bar magnet and a length of string to make a compass?

Fill the container about half full of water. Float a leaf on the surface of the water, and float the needle on the leaf. That'll be a beautiful demonstration. I think I'll make one, and I thank you for the idea.


How do you makea an egg float?

Put floaties on it, put it on a ship of some sort, build it a raft, tie a string to it and dangle it in the air, etc. list goes on and on...


Why you write a string with S capital?

A String in Java is an object, just like an Integer, which means creating them calls their class file, which has to be capitalized. Variables like int and float are primitive variables, meaning an object isn't created to hold them, so they aren't capitalized.


What are the nine basic data types?

Byte Short Int Long Float Double Char Bool String


Do clothes float or sink?

it will float as long as it is not fully covered water.


What do you mean by vectors only hold objects not primitive data types?

It means that you can only store values like Integer, String etc in a Vector and not values like int, float etc. int, float, double etc are primitive data types. collections by their default behavior can hold only objects and not primitives.