answersLogoWhite

0

How to use float value in unix programs?

Updated: 8/16/2019
User Avatar

Wiki User

13y ago

Best Answer

contact : - 9488053472

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How to use float value in unix programs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between sed and awk?

They both are frequently used programs in UNIX, but they do different things. Read their manuals if you want to use them.


Why do v use shells in unix?

A shell is a command interpreter. This is not limited to Unix. The programs COMMAND.COM or CMD.EXE are also shells in the DOS/Windows environments. The program EXPLORER.EXE is also a shell, though with a graphical interface.


Is Float to float casting in java possible?

It is possible in JDK 1.5 and above. In JDK 1.4, you also cast the Float value into float value by using casting. For exampe in JDK 1.5, its possible float f = 12; Float ff = f; but in JDK 1.4, you will use casting i.e float f = 12; Float ff = (float)f;


What is the use of execute command in unix?

There is no traditional 'execute' command in Unix.


Is it possible to use BSD software on Unix systems?

It is possible to use BSD software on Unix systems. It is possible but many do not and they use other softwares on Unix systems beside the BSD software.


Can operation system work without MS DOS?

I use a MAC. It uses UNIX for its operating system instead of MS DOS. A number of older computers used CP/M. Some computers use LINUX. In fact many nations or bureaus, education departments, states, or provinces require LINUX instead of MS DOS. LINUX has many similarities to UNIX and almost UNIX all programs will run on LINUX straight out of the box. A number of MS DOS programs will also run on LINUX.


How convert integer to float using switch case in c?

The switch/case statement in the c language is defined by the language specification to use an int value, so you can not use a float value. You can, however, convert the float into an int and use it, so long as the resulting values and functionality meet your functional requirements.


How do you invoke function result () takes two float argument and returns an integer in c plus plus program?

You can do this by creating a forwarddeclaration of the function. You can call the forward drclared function inside the main to use it.int result(float num1, float num2);intmain(void){int value = result(3.14, 2.74);return (0);}intresult(float num1, float num2){int value = 0;// function codes goes here// you can alter the value of variable 'value'return (value);}The returning value of the 'result()' function is assigned to variable 'value' in 'main()'.


Where you can use Unix?

Unix can be used on a large number of mainframes, servers, and workstations. If you would like to use a certified UNIX system on commodity hardware, Solaris 10 can be downloaded free of charge for non-commercial use.


Are there still people using unix?

Yes, quite a bit of companies and users use unix.


I am currently using windows XP2. For practice purpose i want to use UNIX shell scripting. Without installing UNIX OS how can i use the UNIX shell scripting?

You should be able to download the Unix Services for Windows, version 3.5, from Microsoft (free). There are other shell emulators that are available for Windows, which would allow you to use Unix type shell scripting without installing any additional OS. Your question about "virtual UNIX" is unclear ..


Can you use a DOS formatted floppy in UNIX?

Yes you can. Unix understands both FAT32 and NTFS file systems.