how to change digital temperature readings from hundreds into degrees?

so I have the KY-028 digital temperature sensor and I have it hooked up to a 0.96in OLED display with an Arduino uno, I found some simple code just to display the data onto the screen, but all the sensor readings are in the hundreds for some reason and I can't figure out how to get it to output data in degrees Celsius.

im using and it displays the data from the sensor(in hundreds) when I switch it to digital read it just stays at 1.00, I found another library from people helping me over at the sensors forum but I need to figure out how to put this code right here and the example sketch from the other library code together for it to display the right numbers, right now the example sketch displays the right temperature in the serial monitor but I can't get the screen to display that info.

here's my code, wiring setup at the bottom.

code that i cant get to display right numbers:

#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define OLED_RESET 4
Adafruit_SSD1306 display(OLED_RESET);

void setup() {
 Serial.begin(9600);

 display.begin(SSD1306_SWITCHCAPVCC, 0x3C);  // initialize with the I2C addr 0x3C (for the 128x32)
 
  display.display();
  delay(2000);

 // Clear the buffer.
  display.clearDisplay();
  display.setTextSize(1);
  display.setCursor(0, 0);
  display.setTextColor(WHITE);

}

void loop() {
  
  float sensor=digitalRead(A0);
  display.setCursor(0, 0);
  display.print("Tempature: ");
  display.println(sensor);
  display.display(); //you have to tell the display to...display
  delay(2000);
  display.clearDisplay();
}

the code I can the proper temperature readings from but can't display them on screen

#include <ACI_10K_an.h>

void setup() {
 Serial.begin(9600);
}

void loop() {
  Aci_10K an10k; //start an instance of the library
  //Aci_10K an10k(3.3,12);support for 3.3 volt board and/or 12bit analog read resolution
  Serial.print("temp: ");
  Serial.println(an10k.getTemp(analogRead(0)));
  delay(1000);

}

DISPLAY:

SDA---A4
SLC---A5
VCC---3.3v
GND---GND

TEMP Sensor:

A0---A0
DO---pin 12
VCC---5v
GND---GND

arduino getting power from computer USB for now

any help is appreciated and if you need any more info that I didn't put here ill be glad to provide it, thanks!

First issue...
You are assigning a binary 0/1 value into a float.

float sensor=digitalRead(A0);

Also, you may as we’ll declare ‘sensor’ as a global, then just assign the desired value in loop()

lastchancename:
First issue...
You are assigning a binary 0/1 value into a floor.

float sensor=digitalRead(A0);

Also, you may as we’ll declare ‘sensor’ as a global, then just assign the desired value in loop()

how would I go about doing that? sorry, im not very good on the coding side of things...

Try analogRead()...
Returns a value between 0–1023

sorry im really lost, like I had said im not really good at coding, I can do a few things but not a lot, I don't know how to declare something and I don't understand what I should change, sorry again

Nevermind! i figured it out, thank you!

Put Replies #1 & 3 together...
That gives a BIG hint.