Jump to content

padzero, simple question


mirHadi

Recommended Posts

hello

 

beginner question sorry!.

the document says:

 

padzero(5, 126) = 00126

padzero(5, 23) = 00023

padzero(1, 23) = 23

 

but does it round up or down too?

 

please look at the file.

 

padzero ( 2, $F/$FPS)  should result in 00 for $F<12 ($F/$FPS <0.5)  and for >=12 ($F/$FPS >=0.5) results in 01.

 

am I wrong about how this function is doing?!

thank you in advance

 

 

frameDisplay.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...