To write 342 in a sentence you will write “three hundred forty two”.
Cardinal number is used to denote quantity of counting numbers such as (three, four, five and so on) as opposed to an ordinal number that tells the position of something in a list such as first, second third and fourth.