Error error CS0266: Cannot implicitly convert type `float' to `int'. An explicit conversion exists (are you missing a cast?)

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class itembuy : MonoBehaviour
{
public click click;
public UnityEngine.UI.Text itemInfo;
public float cost;
public int count = 0;
public int clickPower;
public string itemName;
private float _newCost;

void Update()
{
    itemInfo.text = itemName + "

Cost :" + cost + "
Power: +" + clickPower;
}

public void PurchasedUpgrade()
{
    if (click.ki >= cost)
    {
        click.ki -= cost;
        count += 1;
        click.kiperclick += clickPower;
        cost = Mathf.Round(cost * 1.15f);
        _newCost = Mathf.Pow(cost, _newCost = cost);
    }
}

}

idk whats wrong

One of your variables is an int and your trying to assign it a float value. You need to cast it to int first.

int myInt = 1;
float myFloat = 1.0f;

//myInt += myFloat // will throw an arror
myInt += (int) myFloat; // will work.

Im now sure what do u mean, do u have skype and there i can ask you?? Thanks :3