User Tools

Site Tools


maths

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
maths [2015/05/09 22:21] luke7858maths [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 34: Line 34:
 1.4 '<' 1.3 | bc -l 1.4 '<' 1.3 | bc -l
 </sxh> </sxh>
 +\\
 <sxh bash> <sxh bash>
-value=$(1.4 '<' 1.3 | bc -l) +example= $(echo 1.4 '<' 1.3 | bc -l) 
-if [ $value -eq 0 ]; then +if [ $example-eq 0 ]; then 
-elif [ $value -eq 1  ]; then+elif [ $example-eq 1  ]; then
 fi fi
 </sxh> </sxh>
maths.1431210066.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki