This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
floating_point_calculation [2012/01/27 16:05] k2patel |
floating_point_calculation [2012/01/27 16:34] k2patel [Using in Script for Comparision] |
||
---|---|---|---|
Line 26: | Line 26: | ||
The code for the functions follows: | The code for the functions follows: | ||
- | <code oobas> | + | <code bash> |
#!/bin/bash | #!/bin/bash | ||
# | # | ||
Line 122: | Line 122: | ||
The one unaswered question you may have is: "and why would I want to do this?" Next time around I'll show you one place you can put this to real world use. | The one unaswered question you may have is: "and why would I want to do this?" Next time around I'll show you one place you can put this to real world use. | ||
- | Ref : [[ Linux Journal | http://www.linuxjournal.com/content/floating-point-math-bash ]] | + | Ref : [[ http://www.linuxjournal.com/content/floating-point-math-bash | Linux Journal ]] |
==== Doing Calculation ==== | ==== Doing Calculation ==== | ||
Line 254: | Line 254: | ||
</code> | </code> | ||
- | Ref. [[http://www.novell.com/coolsolutions/tools/17043.html|http://www.novell.com/coolsolutions/tools/17043.html]] | + | Ref. [[ http://www.novell.com/coolsolutions/tools/17043.html | Novell Cool Solutions ]] |