| |
|
|
 | Was ich einfach mal loswerden muss...
Es ist ja schon mal vorgekommen das ich an einer Unit schreibe...
immer wieder - es scheint an der Natur der Sache zu liegen - brauche ich Str$ um ... naja was Str halt macht.
Laaaiiider (nein Falsch - gut so!) beachtet Str$ den set(Decimals Wert.
Str$(1) mit Decimals 3 ist also 1.000.
Das .000 führt zum Problem - immer muß ich vorm Str$ in Units den DecimalsWert getten und neusetzen und wieder zurücksetzen.
Sinn meiner Rede ist nicht unbedingt ein StrL$, auch ein Workaround über substr$(str$(1),1,.) wäre mir nicht neu (lahm?) aber ich wollte es eifach mal loswerden und ein bisl rumheulen. 
Jetzt fühle ich mich besser! 
Nachtrag: jetzt sehe ich auch noch das numwidth auch noch in str$ reinfummelt  |
|
|
| |
|
|
|
 Michael Wodrich | |
|
| Programmieren, das spannendste Detektivspiel der Welt. | 17.09.2006 ▲ |
|
|
|
|
 | Klar Michael - Abhilfen gibts viele! |
|
|
| |
|
|
|
 Michael Wodrich | Ich hab auch schon oft im Stillen über ein Durchschleifen von PrintF und SPrintF nachgedacht... Da steckt einfach eine Mega-Power drin... |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 17.09.2006 ▲ |
|
|
|
|
 | Das sind so ähnliche Gedanken wie das Abschaffen von Variablentypen unter ausschliesslicher Nutzung von Bereichsvariablen ähnlich wie ich es an C so liebe es gibt in C keine Strings.  |
|
|
| |
|
|
|
 Jörg Sellmeyer | |
|
| Windows XP SP2 XProfan X4... und hier mal was ganz anderes als Profan ...  | 17.09.2006 ▲ |
|
|
|
|
 Jac de Lad | |
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 17.09.2006 ▲ |
|
|
|
|
 | [quote:03ff9355ba=Jacob Liebeck]Str$(Int(3+4))[/quote:03ff9355ba] Klebt Dir aber immernoch NumWidth an der Backe  |
|
|
| |
|
|
|
 Jac de Lad | Hm, das habe ich noch nie verwendet, deshalb habe ich nicht dran gedacht. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 17.09.2006 ▲ |
|
|
|
|
 | [quote:01204b8983=Jacob Liebeck]Hm, das habe ich noch nie verwendet, deshalb habe ich nicht dran gedacht.[/quote:01204b8983] Dito, drum hab ichs hier str$ niedergeschrieben. |
|
|
| |
|
|