Is the grammer correct "66% Return in 2 years"
- User
Is the grammer correct "66% Return in 2 years"
- Assistant
The phrase "66% Return in 2 years" is understandable but could be slightly improved for clarity and correctness depending on context.
Here are some grammatically improved versions:
- "66% Return in 2 Years" (capitalize "Years" if it's a title or heading)
- "66% Return Over 2 Years"
- "66% Return in Two Years"
- "66% Return within 2 Years"
If it’s part of a sentence, you might write:
- "A 66% return in 2 years."
- "66% return over the course of 2 years."
So, the original is not incorrect but can be better with slight adjustments.
- User
thanks!
- Assistant
You're welcome! If you have any more questions, feel free to ask. Have a great day! 😊
- User
after effects script slider control script to turn 3,670 to 6,100
- Assistant
If you're looking to create an After Effects expression on a Slider Control that maps the slider’s 0 to 100 range (or some input range) to output values ranging from 3,670 to 6,100, here’s how you can do it:
Expression to map Slider control values
// Assuming slider goes from 0 to 100 var inputMin = 0; var inputMax = 100; var outputMin = 3670; var outputMax = 6100; var sliderValue = effect("Slider Control")("Slider"); linear(sliderValue, inputMin, inputMax, outputMin, outputMax);
Explanation:
sliderValue: current value of the slider controllinear()maps a value from an input range to an output range linearly.- When slider = 0 → output = 3,670
- When slider = 100 → output = 6,100
How to use:
- Create a Slider Control effect on your layer.
- Apply this expression to the property where you want the mapped value.
- Adjust slider from 0 to 100 to get values between 3,670 and 6,100.
If your input slider uses a different range, just adjust and accordingly.
- User
rewrite the script as I need no decimal points
- Assistant
Certainly! To remove decimal points and return an integer value, you can wrap the output with the
Math.round()function to round the value to the nearest whole number.Here’s the modified expression:
var inputMin = 0; var inputMax = 100; var outputMin = 3670; var outputMax = 6100; var sliderValue = effect("Slider Control")("Slider"); Math.round(linear(sliderValue, inputMin, inputMax, outputMin, outputMax));This will output whole numbers between 3,670 and 6,100 with no decimals.