Hello,
I would like to print on the display a variable byte.
how can I convert it to integer? and use PrintNumber
the display print strange numbers ....
Thanks
Giovanni
conversion between byte and integer to print
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: conversion between byte and integer to print
Hello Giovanni,
The PrintNumber function can take a byte or an integer variable directly, no conversion is required.
The only time you need to do conversion is if you are dealing with say a number inside an ASCII string.
The PrintNumber function can take a byte or an integer variable directly, no conversion is required.
The only time you need to do conversion is if you are dealing with say a number inside an ASCII string.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel