fixed
improved
Minor Update
Soulver 3.9.2
Assertions
- Added an assert() function that you can use to verify an expected variable condition is true
- For example, assert(expenses < $400), if you expect expenses to always be less than $400
- The answer column will show red exclamation marks & the variable value to bring your attention to a line with a failing assertion
Scientific Notation
- Explicitly format answers in scientific notation using "in scientific notation" or "in sci": i.e "10500 in sci" (= 1.05e4)
Bug fixes
- Fixed a bug that could sometimes cause a crash on launch
- Fixed a bug with certain expressions involving a currency conversion followed by a division not working correctly (thanks Anton)
- Fixed a bug where clock times that use dot instead of colon could fail to work correctly in interval calculations (thanks Raphael)
- Fixed a bug that could produce unwanted duplicate lines in a duplicated document (thanks Felipe)
- Fixed an issue with laptimes not summing with unit expressions of time in subtotals (thanks Jasper)
- Multiplying incompatible units now produces an error (thanks Oliver)
- Fixed an issue with the "fraction of x" phrase inside a variable declaration (thanks Max)
- Improved QuickSoulver behaviour across multiple displays (thanks Stefan)
- Numbers with ordinal prefixes (1st, 2nd, 3rd, 4th, etc) are now ignored as comments, and won't affect results (thanks Frank)
- Logical operators (&& and ||) now have lower precedence than addition and subtraction operators (previously they had the same precedence)