stray 342 error

Hi
I copied some code from this website :

I'm getting a stray 342 error:

Arduino: 1.6.12 (Mac OS X), TD: 1.35, Board: "LilyPad Arduino, ATmega328"

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/victoriahaire/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/victoriahaire/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/victoriahaire/Documents/Arduino/libraries -fqbn=arduino:avr:lilypad:cpu=atmega328 -ide-version=10612 -build-path /var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/victoriahaire/Documents/Arduino/tempsense1/tempsense1.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/victoriahaire/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/victoriahaire/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/victoriahaire/Documents/Arduino/libraries -fqbn=arduino:avr:lilypad:cpu=atmega328 -ide-version=10612 -build-path /var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -prefs=runtime.tools.avr-gcc.path=/Applications/Arduino.app/Contents/Java/hardware/tools/avr -verbose /Users/victoriahaire/Documents/Arduino/tempsense1/tempsense1.ino
Using board 'lilypad' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Using core 'arduino' from platform in folder: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr
Detecting libraries used...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10612 -DARDUINO_AVR_LILYPAD -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636/sketch/tempsense1.ino.cpp" -o "/dev/null"
Generating function prototypes...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10612 -DARDUINO_AVR_LILYPAD -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636/sketch/tempsense1.ino.cpp" -o "/var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636/preproc/ctags_target_for_gcc_minus_e.cpp"
"/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636/preproc/ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=8000000L -DARDUINO=10612 -DARDUINO_AVR_LILYPAD -DARDUINO_ARCH_AVR "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino" "-I/Applications/Arduino.app/Contents/Java/hardware/arduino/avr/variants/standard" "/var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636/sketch/tempsense1.ino.cpp" -o "/var/folders/2s/njjj8qj958n04c70h3dw5nl00000gn/T/arduino_build_293636/sketch/tempsense1.ino.cpp.o"
tempsense1:74: error: stray '\342' in program
float temperatureC = (voltage – 0.5) * 100 ; //converting from 10 mv per degree with 500 mV offset
^
tempsense1:74: error: stray '\200' in program
tempsense1:74: error: stray '\223' in program
/Users/victoriahaire/Documents/Arduino/tempsense1/tempsense1.ino: In function 'void loop()':
tempsense1:74: error: expected ')' before numeric constant
float temperatureC = (voltage – 0.5) * 100 ; //converting from 10 mv per degree with 500 mV offset
^
exit status 1
stray '\342' in program

Please could you help?
Thanks

Please could you help?

When Mr. Google can't? Seems unlikely. But, here goes.

Delete the stray \342 from your program.

Web pages often use printer symbols (stupidly) rather than keyboard-enterable text. The minus in that line is NOT what you would get if you pressed the shift key and the key between the 0 and the =.

(deleted)

Perhaps the Tools->Fix Encoding & Reload option might help.