Error
There was an error loading the page.
Shows how to use the JME function lpad to add zeros to the beginning of a number so it's always displayed using two digits.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of How-tos :
![]() |
said | Ready to use | 3 years, 10 months ago |
History
Christian Lawson-Perfect 3 years, 10 months ago
Gave some feedback: Ready to use
Christian Lawson-Perfect 7 years, 3 months ago
Published this.Christian Lawson-Perfect 7 years, 3 months ago
Created this.There is only one version of this question that you have access to.
Name | Type | Generated Value |
---|
n | integer |
19
|
||||
padded_n | string |
19
|
||||
hours | integer |
6
|
||||
minutes | integer |
38
|
||||
time | string |
06:38
|
Generated value: integer
19
→ Used by:
- padded_n
Parts
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Match text pattern | ||
Hasn't run yet |
This question is used in the following exam:
- Test2 by Joan Lewis in Joan's workspace.