output a result on the screen per fives

Merry Christmas to all,

I'm creating a digital thermometer (up to 1000 degrees Celsius) and I want to output on the screen the temperature per fives e.g. 155, 160, 165, 170 etc.

Any idea of how can I do that ?

thank you in advance.

Hi John,

it is time for you to really start learning programming.
Take a look into this tutorial:

Arduino Programming Course

It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.

Your question could be interpreted as a diplomatic hidden way of asking
"can somebody post the ready to use code to ..."

Your question is way too unprecise:

You should write:

  • which arduino-board are you using
  • what kind of screen? if it is some special screen provide a link to the datasheet and the documentation of this screen

Does your question include how to measure temperatures up to 1000 degrees?

This is your post #8 in post #1 you have been told to read thorugh this page
https://forum.arduino.cc/index.php?topic=712201.0

you should really do it!
best regards Stefan

Any idea of how can I do that ?

if ((temperature % 5) == 0)
{
  //print the temperature
}

StefanL38:
Hi John,

it is time for you to really start learning programming.
Take a look into this tutorial:

Arduino Programming Course

It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.

Your question could be interpreted as a diplomatic hidden way of asking
"can somebody post the ready to use code to ..."

Your question is way too unprecise:

You should write:

  • which arduino-board are you using
  • what kind of screen? if it is some special screen provide a link to the datasheet and the documentation of this screen

Does your question include how to measure temperatures up to 1000 degrees?

This is your post #8 in post #1 you have been told to read thorugh this page
How to get the best out of this forum - Programming Questions - Arduino Forum

you should really do it!
best regards Stefan

StefanL38:
Hi John,

it is time for you to really start learning programming.
Take a look into this tutorial:

Arduino Programming Course

It is easy to understand and has a good mixture between explaining important concepts and example-codes to get you going. So give it a try and report your opinion about this tutorial.

Your question could be interpreted as a diplomatic hidden way of asking
"can somebody post the ready to use code to ..."

Your question is way too unprecise:

You should write:

  • which arduino-board are you using
  • what kind of screen? if it is some special screen provide a link to the datasheet and the documentation of this screen

Does your question include how to measure temperatures up to 1000 degrees?

This is your post #8 in post #1 you have been told to read thorugh this page
How to get the best out of this forum - Programming Questions - Arduino Forum

you should really do it!
best regards Stefan

Dear Stefan, thank you very much for your suggestions (really thank you) but a simple reply like what "UKHeliBob" did (below) is what I needed!

UKHeliBob:

if ((temperature % 5) == 0)

{
 //print the temperature
}




thank you very much sir, I appreciate that.