Marlou Fin Member Licensed User Feb 6, 2019 #1 Hi Guys, Do we have existing function in b4a to format number with leading zeroes? The way we did in visual basic format("1","000000#") Thanks, Maloyski
Hi Guys, Do we have existing function in b4a to format number with leading zeroes? The way we did in visual basic format("1","000000#") Thanks, Maloyski
Marlou Fin Member Licensed User Feb 6, 2019 #3 Hi Erel, Can you give some sample code? The input example is 25 and the expected output will be 00025. I cannot figured it out in the document for numberformat2. Thanks, Marlou Upvote 0
Hi Erel, Can you give some sample code? The input example is 25 and the expected output will be 00025. I cannot figured it out in the document for numberformat2. Thanks, Marlou
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2019 #4 B4X: Log(NumberFormat2(25, 5, 0, 0, False)) Upvote 0
Marlou Fin Member Licensed User Feb 6, 2019 #5 Thanks Erel, it's working now. Is there any chance that this can added in the sample document or in the hint in the code? This is little help. Upvote 0
Thanks Erel, it's working now. Is there any chance that this can added in the sample document or in the hint in the code? This is little help.
Erel B4X founder Staff member Licensed User Longtime User Feb 6, 2019 #6 1. It is covered in the programming guide. 2. It is covered in the video tutorials. 3. It appears as a hint: Upvote 0
1. It is covered in the programming guide. 2. It is covered in the video tutorials. 3. It appears as a hint: