percent symbol in math equations

percent symbol in math equations - Сообщения

#1 Опубликовано: 23.01.2017 00:03:56
RickH

RickH

0 сообщений из 5 понравились пользователям.

Группа: User

Greetings,
I am curious about the operation of the percent "%" symbol.

If I add, for example, 1+100%=..., it gives the warning "units don't match".
I would expect it to return either 2 or 200%.

I only installed the program a few days ago, so maybe I am misunderstanding the operation of the % symbol. The program is very nice - just trying to figure out the details for input, etc.

Thanks!
#2 Опубликовано: 23.01.2017 04:19:10
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Can't reproduce that with 0.98.6179.

prozent.PNG

Make sure the % symbol is in blue italic (recognized as a unit).

Type 1+100% TAB =

The tabulator key is used to confirm the selection in the dynamic assistant.

In SMath Studio % is nothing else than a representation of the number 0.01
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#3 Опубликовано: 23.01.2017 09:50:58
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Type X:=1.23456789*[in the place holder: insert % from drop down unit menu]
check result X=0.0123456789
#4 Опубликовано: 23.01.2017 14:52:57
RickH

RickH

0 сообщений из 5 понравились пользователям.

Группа: User

Thanks for the replies.

I believe my problem was replacing "Metric" with "Imperial" in the settings.inf file (OutputUnitsSystem variable).
I was trying to force the output units to be Imperial, which was working, but apparently it has some effect on the use of the % symbol.

Anyway, I think changing to Imperial in the .inf is not technically a supported or approved method.
So I changed my OutputUnitsSystem back to Metric and it works fine.

Thanks again.
#5 Опубликовано: 29.03.2022 14:03:05
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 сообщений из 164 понравились пользователям.

Группа: User

Greetings!

To the best of my knowledge, you should be able to redefine the 「%」 from 「dimensionless」 to a 「number」 of value: 0.01; keypress the following at the top of your worksheet:
'%:1/100


(NOTE: I currently have the settings.inf file modified to Imperial units 「OutputUnitsSystem=Imperial」 and % appears to behave as expected when it is redefined to 0.01)
[SMath]percentSymbol_MathEquations.jpg

-Kenny Lemens, P.E.
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
#6 Опубликовано: 29.03.2022 20:33:12
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

I would expect it to return either 2 or 200%.



Percent.PNG
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений