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

Dynamic Slide

Engaged ,
May 10, 2018 May 10, 2018

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
1.1K
Translate
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

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

Try this:

value%22

Dan

Translate
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

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!

Translate
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

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

Translate
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

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

Dan

Translate
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
LATEST

Aaaaaahhhh... Good stuff.

Thanks!

Translate
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