simpletext library  v0.98
Compact variations of put/get write/read and print/scan for smaller program sizes
Functions
writeFloatPrecision.c File Reference
#include "simpletext.h"

Functions

void writeFloatPrecision (text_t *p, float number, int width, int precision)
 Print string representation of a 32 bit floating point number to device with a certain number of decimal point digits.

Detailed Description

Function to print a float number to the pointer.

Copyright (c) 2013, Parallax Inc. Written by Steve Denson

Function Documentation

void writeFloatPrecision ( text_t device,
float  value,
int  width,
int  precision 
)

Print string representation of a 32 bit floating point number to device with a certain number of decimal point digits.

Parameters
devicePreviously open/started terminal device.
widthNumber of characters to print.
precisionNumber of decimal point digits to print.
valueNumber to print.