obsidian-numerals icon indicating copy to clipboard operation
obsidian-numerals copied to clipboard

Issues with rounding and numbers less than 0.0005

Open awsharif opened this issue 2 years ago • 6 comments
trafficstars

Hi thanks for the development of numerals.

I just want to flag an issue - it appears you are unable to get accuracy more than 3 decimal places. This does not impact calculations but when the result is less than 0.0005 it will render as 0. Additionally round() function did not seem to help. Rounding greater than 3 decimal places does not register. Is this a known bug? Screenshot below. Issue persists across math, math-tex and math-plain.

Thanks!

Screenshot_20230410_045111_Obsidian.jpg

awsharif avatar Apr 10 '23 03:04 awsharif

Having the same problem, is there any way to address this?

publicvirtualvoid avatar Mar 06 '24 19:03 publicvirtualvoid

@publicvirtualvoid can you provide some example math blocks where you were seeing this to help me debug

gtg922r avatar Mar 07 '24 15:03 gtg922r

image I'm experiencing the same problem. See the lines where m,p,d, and e are defined for the start of the problem, and lines for k and l for the resulting 0 delta.

over2sd avatar May 07 '24 22:05 over2sd

I believe this is a result of using default System Formatting. If you change the "Rendered Number Format" option you can force it to show results in engineering or scientific notation:

image

Does this solve your need? Is there a different solution you want to see?

gtg922r avatar May 25 '24 05:05 gtg922r

No. I tried each of the format options. None of them result in anything over three digits of precision.

over2sd avatar May 27 '24 15:05 over2sd