1 /*****************************************************************************/
2 /*                                                                           */
3 /*                                 STRCVT.H                                  */
4 /*                                                                           */
5 /* (C) 1993,94  Ullrich von Bassewitz                                        */
6 /*              Wacholderweg 14                                              */
7 /*              D-70597 Stuttgart                                            */
8 /* EMail:       uz@ibb.schwaben.com                                          */
9 /*                                                                           */
10 /*****************************************************************************/
11 
12 
13 
14 // $Id$
15 //
16 // $Log$
17 //
18 //
19 
20 
21 
22 #ifndef _STRCVT_H
23 #define _STRCVT_H
24 
25 
26 
27 #include "str.h"
28 
29 
30 
31 /*****************************************************************************/
32 /*                                   Code                                    */
33 /*****************************************************************************/
34 
35 
36 
37 String I32Str (i32 Val, unsigned Base = 10);
38 // Convert an integer into a string
39 
40 String U32Str (u32 Val, unsigned Base = 10);
41 // Convert an unsigned into a string
42 
43 String FloatStr (double Val, unsigned LDigits, unsigned TDigits);
44 // Convert a double into a string. There is a difference between this function
45 // and the converting functions for integers: The result definitely has not
46 // more than the given width.
47 
48 String TimeStr (u32 TimeInSec);
49 // Convert a time (given in seconds since midnight) into a string.
50 
51 
52 
53 // End of STRCVT.H
54 
55 #endif
56 
57