Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline sleschke  
#1 Posted : 06 February 2009 23:30:50(UTC)
sleschke


Rank: Member

Groups: Registered
Joined: 05/02/2009(UTC)
Posts: 13
Location: Germany

Hi,

I was a bit suprised about the way the percentage function works.
It would look so much nicer if the percentage sign '%' would be used as postfix operator
(like the factorial operator "!"Wink.

I know that this will not always be an adequate replacement in a formula,
but for defining constants it would be great.
Maybe when you start implementing physical units you can treat percentage as a unit.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 27 June 2012 12:37:57(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Hello,

I support this proposal.

Originally Posted by: sleschke Go to Quoted Post
Hi,

I was a bit suprised about the way the percentage function works.
It would look so much nicer if the percentage sign '%' would be used as postfix operator
(like the factorial operator "!"Wink.

I know that this will not always be an adequate replacement in a formula,
but for defining constants it would be great.
Maybe when you start implementing physical units you can treat percentage as a unit.


What can be done: (unfortunately 'Prozent:0.01 does not work)

'Prozent:0.01

2*'Prozent=0.02@#

{2*'mm}/'m=0.2@'Prozent

Using the % sign would be much more intuitive for the user. It is easy to write this on paper, the letter is easy to type, thus why not use it?

I have in mind the usage for mechanical engineering applications, e.g. for strain. Here even the per-thousand symbol would be welcome.

I tried to extend the units definitions (Units.xml under Entries)

<unit value="0.01" description="581" dimension="All">
<name lang="eng" text="'%" />
</unit>

This failed, just as the attempt to define a unit '% interactively fails. First obstacle is the binding of the %-key to the plus/minus-operator. Second obstacle is that when editing a unit name string the GUI doesn't even accept %-characters from the clipboard.

Best regards, Martin Kraska




Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
thanks 1 user thanked mkraska for this useful post.
on 28/06/2012(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.