Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

frames to seconds conversion

Featured Replies

I have a field where users input "frames" as a whole number and I need to have "seconds" calculated automatically.

30 frames = 1 second

The resulting seconds would auto populate another field.

Not sure how to proceed here. Any guidance is appreciated.

Thanks

If you have 29 frames, what should the seconds show? If you have 44 frames, what should the seconds show? Do you want fraction seconds or round up or down or truncate?

  • Author

Hi and thanks for responding so quickly!

Here's what I've come up with so far.

Round((shots::frames)/30;2)

However I need to round up to the nearest .5 (half second)

For example:

29 frames rounds up to 1 second

31 frames rounds up to 1.5 seconds

46 frames rounds up to 2 seconds

I'm stumped.

Try:

0.5 * Ceiling ( frames / 15 )

  • Author

Well that was it. Never would have thought to look that one up. Thank you very much.

It might be worth at least familiarizing myself with all the built in functions.

It might be worth at least familiarizing myself with all the built in functions.

Highly recommended.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.