SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
TUTORIALS
MAGAZINE
TRAINING
VIDEOS - REELS
PODCASTS
EVENTS
SERVICES
NEWSLETTER
NEWS
BLOGS
ADOBE AFTER EFFECTS:
Home
Forum
Basics
Expressions
Tutorials
Podcasts
Motion Graphics
Training
Cinema 4D
FAQ
Expressions: Leading zeros and decimal places.
Cow Forums
:
Adobe After Effects Expressions
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Respond to this post
•
Return to posts index
•
Read entire thread
Expressions: Leading zeros and decimal places.
by
Jakub Michalski
on Oct 30, 2005 at 12:14:04 pm
For some time now I have been cracking my head tryign to figure out if there is a way to develop an expression for Text Source that would allow the number (say, driven by a calculation, or a link to slider or another effect) to be presented with leading zeros.
Of course there is a possibility of including a large set of "if" statements, but I was hoping maybe someone knows an easier way.
Apart from leading zeros, how about displaying a number to a certain amount of decimal places. How about placing coma separator for thousands etc?
Say X=5738 Y=4
is there a simple way of making them display as:
5738 0004
or
5738.00 4.00
or
5,738 4
etc.
Respond to this post
•
Return to posts index
•
Read entire thread
Current Message Thread:
Expressions: Leading zeros and decimal places.
by Jakub Michalski on Oct 30, 2005 at 12:14:04 pm
Re: Expressions: Leading zeros and decimal places.
by Colin Braley on Oct 30, 2005 at 4:49:56 pm
Re: Expressions: Leading zeros and decimal places.
by Jakub Michalski on Oct 30, 2005 at 7:02:04 pm
Re: Expressions: Leading zeros and decimal places.
by Colin Braley on Oct 30, 2005 at 7:18:55 pm
Re: Expressions: Leading zeros and decimal places.
by Colin Braley on Oct 30, 2005 at 5:00:37 pm
Related Tags:
DI
Note:
If you are a registered user please
click here to login
before posting.
Your post will not be accepted if your name and email address are not registered in our database. Click
here
if you do not have an account.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message:
Note:
The following are HTML characters and may cause parts of your post to disappear if not used correctly: < > &
To include any portion of the post in your response, highlight the desired text and hit the "Q" key.
Read more...
Please post Expressions Code in the box below:
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
TUTORIALS
•
MAGAZINE
•
TRAINING
•
VIDEOS - REELS
•
PODCASTS
•
EVENTS
•
SERVICES
•
NEWSLETTER
•
NEWS
•
BLOGS
©
CreativeCOW.net
All rights are reserved.
[
Top
]