Converting Analog Input

I have made the changes to your code. have a look at the data types Data types for Cayenne MQTT API

#include <CayenneMQTTSerial.h>
#include <MQ135.h>
#define CAYENNE_PRINT Serial
#define VIRTUAL_CHANNEL 1
#define VIR_CHANNEL 2
int soundValue;
int db;
float ppm;
char PPM;
char DB;
MQ135 gasSensor = MQ135(1);

// Cayenne authentication info. This should be obtained from the Cayenne Dashboard.
char username = “4fb17570-521d-11e9-86b5-4fe3d2557533”;
char password = “70c88dc86d5140d9893866e251ab22d3396fe3c5”;
char clientID = “89b57c10-782b-11e9-beb3-736c9e4bf7d0”;

void setup()
{
//Baud rate can be specified by calling Cayenne.begin(username, password, clientID, 9600);
Serial.begin(9600);
Cayenne.begin(username, password, clientID);
}

void loop() {
Cayenne.loop();
}

// Default function for sending sensor data at intervals to Cayenne.
// You can also use functions for specific channels, e.g CAYENNE_OUT(1) for sending channel 1 data.
CAYENNE_OUT_DEFAULT()
{
soundValue=analogRead (2);
db=(soundValue+83.2073)/11.003;
float rzero = gasSensor.getRZero();
float ppm = gasSensor.getPPM();
Cayenne.virtualWrite(1, db, "analog_sensor", "null");
Cayenne.virtualWrite(2, rzero, "co2", "ppm" );
Cayenne.virtualWrite(3, ppm, "co2", "ppm" );
}