View difference between Paste ID: RqbbUBEt and Lp8ZiYH0
SHOW: | | - or go back to the newest paste.
1
bash-4.3$ jq '.[""]*2' <<< '{"":3.14159265358979}'
2-
6.28318530717958
2+
6.28318530717958
3
4
bash-4.3$ ruby -rjson -ne 'p JSON.parse($_)[""]*2' <<< '{"":3.14159265358979}'
5
6.28318530717958
6
7
bash-4.3$ php -r 'var_dump(json_decode(fgets(STDIN),true)[""]*2);' <<< '{"":3.14159265358979}'
8
float(6.2831853071796)