2
Copyright (c) 2009 NetAllied Systems GmbH
4
This file is part of Common libftoa.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
11
#ifndef __COMMON_FTOA_H__
12
#define __COMMON_FTOA_H__
19
/** The minimum size of the buffer, passed to ftoa.*/
20
static const size_t FTOA_BUFFERSIZE = 30;
23
/** Returns the number of bytes written in to the buffer.
24
@param buffer The buffer the string representation of the number will be written to. Its size must be at
25
least FTOA_BUFFERSIZE.*/
26
int ftoa(float f, char* buffer);
30
#endif // __COMMON_FTOA_H__