Timeline for How to do integer & float calculations, in bash or other languages/frameworks?
Current License: CC BY-SA 3.0
46 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 17, 2022 at 7:16 | comment | added | milahu | see also How do I use floating-point arithmetic in bash? | |
| Oct 21, 2021 at 15:01 | history | unprotected | AdminBee | ||
| May 19, 2020 at 20:29 | answer | added | Alberto Salvia Novella | timeline score: 0 | |
| Dec 24, 2017 at 15:26 | history | edited | user62916 | removed (/bash) because (/shell) includes it and added (/arithmetic) | |
| Sep 17, 2017 at 10:36 | comment | added | ndemou | I really don't like how this part of the question "...or other languages/frameworks?" opened the gates of hell to answers for all kind of languages/frameworks. | |
| Dec 14, 2015 at 16:10 | history | edited | dhag | CC BY-SA 3.0 | Cleanup for clarity. |
| Dec 10, 2015 at 8:10 | comment | added | Nikana Reklawyks | I came here because bash can't multiply floats, only integers. | |
| Apr 20, 2015 at 16:07 | answer | added | ndemou | timeline score: 8 | |
| Nov 10, 2014 at 21:07 | comment | added | Scott - Слава Україні | See also How to round floating point numbers in the shell. | |
| Nov 10, 2014 at 5:58 | history | protected | CommunityBot | ||
| Sep 13, 2014 at 6:32 | comment | added | RussellStewart | I like to use pythonpy (github.com/russell91/pythonpy) for my calculator: py 3224/3807 => 0.846861045443. py 'math.factorial(4)' => 24. | |
| Jul 26, 2014 at 12:25 | comment | added | Cyrus | Teach bash integer division with floating point results: stackoverflow.com/a/24431665/3776858 | |
| Jun 11, 2014 at 0:02 | history | edited | Gilles 'SO- stop being evil' | edited tags | |
| Jun 10, 2014 at 22:58 | answer | added | Hastur | timeline score: 6 | |
| Feb 26, 2014 at 11:27 | answer | added | user44370 | timeline score: 4 | |
| Jan 19, 2014 at 23:07 | history | edited | Michael Durrant | CC BY-SA 3.0 | added 12 characters in body |
| Jun 6, 2013 at 21:54 | history | edited | Michael Durrant | CC BY-SA 3.0 | edited title |
| Dec 12, 2012 at 1:21 | history | edited | Michael Durrant | CC BY-SA 3.0 | added 131 characters in body; edited title |
| Nov 26, 2012 at 0:57 | history | edited | Michael Durrant | CC BY-SA 3.0 | edited title |
| Jun 27, 2012 at 19:03 | history | edited | Michael Mrozek | CC BY-SA 3.0 | It's weird enough that there's a running answer that just incorporates all other answers; we don't need the question to answer itself as well |
| Jun 27, 2012 at 18:57 | review | Suggested edits | |||
| Jun 27, 2012 at 19:02 | |||||
| Jun 21, 2012 at 14:12 | history | edited | Michael Durrant | CC BY-SA 3.0 | fix calculation - 25+5 != 25 |
| Jun 19, 2012 at 19:02 | history | edited | Michael Durrant | CC BY-SA 3.0 | added Joe's answer in. |
| Jun 19, 2012 at 18:56 | history | edited | Michael Durrant | CC BY-SA 3.0 | added Joe's answer in. |
| Jun 19, 2012 at 12:31 | history | edited | Michael Durrant | CC BY-SA 3.0 | added 165 characters in body; edited title |
| Jun 18, 2012 at 1:46 | answer | added | cobbal | timeline score: 5 | |
| Jun 16, 2012 at 14:38 | answer | added | Vidul | timeline score: 3 | |
| Jun 15, 2012 at 18:30 | answer | added | Joshua | timeline score: 36 | |
| Jun 15, 2012 at 17:40 | answer | added | Random832 | timeline score: 11 | |
| Jun 15, 2012 at 17:35 | comment | added | Random832 | @zinking Well, bash is designed to be conveniently able to easily invoke the interpreters for a large number of other scripting language. | |
| Jun 15, 2012 at 7:46 | comment | added | ДМИТРИЙ МАЛИКОВ | man bash → /expression | |
| Jun 15, 2012 at 7:05 | answer | added | ДМИТРИЙ МАЛИКОВ | timeline score: 8 | |
| Jun 15, 2012 at 3:21 | comment | added | zinking | I assume author is asking for bash command line, while answers all tend to diversify to all kinds of scripting languages. | |
| Jun 15, 2012 at 1:23 | history | edited | Michael Durrant | edited tags | |
| Jun 14, 2012 at 21:52 | answer | added | user unknown | timeline score: 5 | |
| Jun 14, 2012 at 21:39 | comment | added | glenn jackman | If you're going with bc, it may be worth your while to read about the -l option in the man page. | |
| Jun 14, 2012 at 21:03 | answer | added | asmeurer | timeline score: 15 | |
| Jun 14, 2012 at 20:33 | answer | added | killermist | timeline score: 5 | |
| Jun 14, 2012 at 17:20 | answer | added | DQdlM | timeline score: 20 | |
| Jun 14, 2012 at 16:34 | history | tweeted | twitter.com/#!/StackUnix/status/213308471397978113 | ||
| Jun 14, 2012 at 15:55 | answer | added | Marco | timeline score: 29 | |
| Jun 14, 2012 at 14:58 | vote | accept | Michael Durrant | ||
| Jun 14, 2012 at 14:47 | answer | added | rush | timeline score: 47 | |
| Jun 14, 2012 at 14:46 | answer | added | Levon | timeline score: 20 | |
| Jun 14, 2012 at 14:45 | answer | added | lgarzo | timeline score: 599 | |
| Jun 14, 2012 at 14:43 | history | asked | Michael Durrant | CC BY-SA 3.0 |