• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dynamic Slide

Engaged ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

I want to do a expression to put in slider control that make a interpolation between two values; 0 to 22

And when get 22, restart to 0 again, so, if the time is 23, slide get 1, and if time is 45, 1 again, and so on.

TOPICS
Expressions

Views

663

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , May 10, 2018 May 10, 2018

Try this:

value%22

Dan

Votes

Translate

Translate
Community Expert ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

Try this:

value%22

Dan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 10, 2018 May 10, 2018

Copy link to clipboard

Copied

Oh, yes, this is learned at school, it's the rest, or module.

It seems that I spent a lot of time without creating codes and I stay out of practice, this solution don't even crossed my mind ... thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2018 May 15, 2018

Copy link to clipboard

Copied

Hi Dan,

I can't find any reference elsewhere about using the percentage sign in expressions.

What does it mean in this context? And what else could it used for?

#eagertolearn

Nowa

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 15, 2018 May 15, 2018

Copy link to clipboard

Copied

It's the JavaScript modulo operator. It's like division except that it just returns the remainder.

Dan

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2018 May 15, 2018

Copy link to clipboard

Copied

LATEST

Aaaaaahhhh... Good stuff.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines