ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Decimals

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Olimbek Kasimov
Decimals
on Dec 25, 2018 at 10:30:29 am

Hi, guys. I want to add decimals. How I can change this expression?

Math.round(thisComp.layer("graph_control").effect("graph_01")(1)) +"%"


Return to posts index

Dan Ebberts
Re: Decimals
on Dec 25, 2018 at 5:21:30 pm

Try it like this:

thisComp.layer("graph_control").effect("graph_01")(1).value.toFixed(2) + "%"


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]