error: expected primary-expression before '<' token

what is wrong with this code

Board Wemos D1 R1
Windows 10 64bit
Arduino IDE 1.8.12
code is copied of other script with different information that works fine so wy is this not working ? what im not seeing or what did i wrong cant figure it out

if ( temp =< 0.0 )
{
  tmpString.replace("%imgtemp%", "thermometer -10_0.png"); // Temp color
}
else if ( temp => 0.0 && =< 10.0 )
{
  tmpString.replace("%imgtemp%", "thermometer 0_10.png"); // Temp color
}
else if ( temp => 10.0 && =< 20.0 )
{
  tmpString.replace("%imgtemp%", "thermometer 10_20.png"); // Temp color
}
else if ( temp => 20.0 && =< 30.0 )
{
  tmpString.replace("%imgtemp%", "thermometer 20_30.png"); // Temp color
}
else if ( temp => 30.0 && =< 40.0 )
{
  tmpString.replace("%imgtemp%", "thermometer 30_40.png"); // Temp color
}

this error is given by ide

Wemos___website_clean.ino:335:12: error: expected primary-expression before '<' token

 if ( temp =< 0.0 )

            ^

Wemos___website_clean.ino:339:17: error: expected primary-expression before '>' token

 else if ( temp => 0.0 && =< 10.0 )

                 ^

Wemos___website_clean.ino:339:26: error: expected primary-expression before '=' token

 else if ( temp => 0.0 && =< 10.0 )

                          ^

Wemos___website_clean.ino:339:27: error: expected primary-expression before '<' token

 else if ( temp => 0.0 && =< 10.0 )

                           ^

Wemos___website_clean.ino:343:17: error: expected primary-expression before '>' token

 else if ( temp => 10.0 && =< 20.0 )

                 ^

Wemos___website_clean.ino:343:27: error: expected primary-expression before '=' token

 else if ( temp => 10.0 && =< 20.0 )

                           ^

Wemos___website_clean.ino:343:28: error: expected primary-expression before '<' token

 else if ( temp => 10.0 && =< 20.0 )

                            ^

Wemos___website_clean.ino:347:17: error: expected primary-expression before '>' token

 else if ( temp => 20.0 && =< 30.0 )

                 ^

Wemos___website_clean.ino:347:27: error: expected primary-expression before '=' token

 else if ( temp => 20.0 && =< 30.0 )

                           ^

Wemos___website_clean.ino:347:28: error: expected primary-expression before '<' token

 else if ( temp => 20.0 && =< 30.0 )

                            ^

Wemos___website_clean.ino:351:17: error: expected primary-expression before '>' token

 else if ( temp => 30.0 && =< 40.0 )

                 ^

Wemos___website_clean.ino:351:27: error: expected primary-expression before '=' token

 else if ( temp => 30.0 && =< 40.0 )

                           ^

Wemos___website_clean.ino:351:28: error: expected primary-expression before '<' token

 else if ( temp => 30.0 && =< 40.0 )

                            ^

exit status 1
expected primary-expression before '<' token

The less-than-or-equal symbol is <= but you've put =<

(That's not the only error I see in your code btw)

else if ( temp => 0.0 && =< 10.0 )

As well as the syntax errors pointed out by GypsumFantastic the comparisons need to be "complete".

else if ( temp => 0.0 && temp = < 10.0 )

See also:

thanks for your quick respond i found the problem yeah

thank you all !!

if (temp < 0.0)
{
  tmpString.replace("%imgtemp%", "thermometer -10_0.png"); // dagstatus
}
else if (temp >= 0 && temp <= 10 )
{
  tmpString.replace("%imgtemp%", "thermometer 0_10.png"); // dagstatus
}
else if ( temp >= 10 && temp <= 20 )
{
  tmpString.replace("%imgtemp%", "thermometer 10_20.png"); // dagstatus
}
else if ( temp >= 20 && temp <= 30 )
{
  tmpString.replace("%imgtemp%", "thermometer 20_30.png"); // dagstatus
}
else if ( temp >= 30 && temp <= 40 )
{
  tmpString.replace("%imgtemp%", "thermometer 30_40.png"); // dagstatus
}

=< != <=

Do you actually read the responses given to your questions?

The less-than-or-equal symbol is <= but you've put =<

GypsumFantastic gave you the answer and I linked the references for those operators. Your comparison operators are backwards. You cannot make up your own syntax.

It is >= for greater than operator, not =>.
It is <= for less than operator, not =<.

Did you read #1? '= <' is very definitely not the same as '<='.

Steve