does anybody know how to format a string or a number in pb?
In VB i can use Format(1.33333,"00#.00") to get 001.33 but how
could this be done in pb?
Hope anyone could help me couse i need it for a recent project.
tia
How to format strings or numbers???
How to format strings or numbers???
__ i know that i know nothing __
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
Re: How to format strings or numbers???
> does anybody know how to format a string or a number in pb?
See this thread, but I don't know if it still works with v3.70 (Danilo?):
viewtopic.php?t=4425
See this thread, but I don't know if it still works with v3.70 (Danilo?):
viewtopic.php?t=4425
Thanks for the quick answers
I tried Mr. Skunks library but unfortunately it seems that
Day() ist declared in another lib too (in date i guess).

I tried Mr. Skunks library but unfortunately it seems that
Day() ist declared in another lib too (in date i guess).
__ i know that i know nothing __
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
- Fangbeast
- PureBasic Protozoa
- Posts: 4789
- Joined: Fri Apr 25, 2003 3:08 pm
- Location: Not Sydney!!! (Bad water, no goats)
PrintUsing library
I actually found a Print Using library recently, only done a few weeks ago and it is in German so it should be perfect for you.
Let me know your email and I'll send it to you...Can't remember where I got it from but it's here
Let me know your email and I'll send it to you...Can't remember where I got it from but it's here

Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
Re: PrintUsing library
Hi Fang,Fangbeast wrote:I actually found a Print Using library recently, only done a few weeks ago and it is in German so it should be perfect for you.
Let me know your email and I'll send it to you...Can't remember where I got it from but it's here
I have very interest in this library. Please, send to me if this is possible.
my email is vpardo@infonegocio.com
Tnanks for you colaboration.
Regards,
Manolo
Return to the forum
I think he means that lib:
http://www.reelmediaproductions.com/pb/ ... unkLIB.zip
It is the lib from MrSkunk, modified by Danilo, to work with current versions.
Timo
http://www.reelmediaproductions.com/pb/ ... unkLIB.zip
It is the lib from MrSkunk, modified by Danilo, to work with current versions.
Timo
quidquid Latine dictum sit altum videtur
SkunkLib
Thanks Fangbeast & Freak
i tried the original Lib from Skunk - but the one modified
by Danilo works perfekt with PB 3.70
i tried the original Lib from Skunk - but the one modified
by Danilo works perfekt with PB 3.70

__ i know that i know nothing __
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])
__ those who swim with the stream will never reach the source __
(K7 XP @ 2.4 GHz | WinXP SP1 | 1 GB RAM | ATI Radeon 7500 | PB 3.81 [Win|Linux])