forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Fixed number of decimal places displayed in %rf

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Suggestions
View previous topic :: View next topic  
Author Message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2187
Location: Yateley, Hants, UK

PostPosted: Sat Jul 19, 2008 3:06 pm    Post subject: Fixed number of decimal places displayed in %rf Reply with quote

It would be really convenient if there was a facility for making %rf always display just a fixed number of decimal places.

OK, I know that I can do this by converting to a string using an internal write and using %rs ... but I did say convenient (and not essential!).

Eddie
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2235
Location: South Pole, Antarctica

PostPosted: Wed Jul 23, 2008 9:47 am    Post subject: Reply with quote

Agree
Back to top
View user's profile Send private message
IanLambley



Joined: 17 Dec 2006
Posts: 474
Location: Sunderland

PostPosted: Wed Jul 23, 2008 12:08 pm    Post subject: Reply with quote

A good idea for %`rf, but possibly not for %rf, as what would happen during data entry? It would be unwise to respond to each keystroke in that case and forcing %co[check_on_focus_loss] for such controls would perhaps be required.

Typical usage would of course be %`10.2rf.

Ian
Back to top
View user's profile Send private message Send e-mail
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 6593
Location: Salford, UK

PostPosted: Wed Jul 23, 2008 2:12 pm    Post subject: Reply with quote

You already have this with %wf but without the box.
Back to top
View user's profile Send private message AIM Address
IanLambley



Joined: 17 Dec 2006
Posts: 474
Location: Sunderland

PostPosted: Wed Jul 23, 2008 6:03 pm    Post subject: Reply with quote

Not quite, %wf does not update as the value is changed
Back to top
View user's profile Send private message Send e-mail
Wilfried Linder



Joined: 14 Nov 2007
Posts: 314
Location: Düsseldorf, Germany

PostPosted: Wed Jul 23, 2008 8:51 pm    Post subject: Reply with quote

I'm waiting for this possibility (%12.3rf) since years... and I asked for this also here some time ago:

http://forums.silverfrost.com/viewtopic.php?p=3540&sid=e497aa7744affd26db624191c47ff18d#3540

OK, I will wait in patience Rolling Eyes

Wilfried
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2187
Location: Yateley, Hants, UK

PostPosted: Thu Jul 24, 2008 4:58 pm    Post subject: Reply with quote

My particular application would be helped by it being available in %`rf as Ian notes. I can see a use in %rf, but accept there are difficulties.

I remember now seeing Wilfried's earlier request.

Eddie
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Suggestions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group