I wish to convert Yes = 1, and No = 0, in the script editor.
I tried
function number (row, col, activeSheet) { var Yes = activeSheet.getRange(row, col)