US /ˈnɛsɪˌsɛri/
UK /'nesəsərɪ/
I was determined not to stay in hospital for any longer than was strictly necessary.
These measures will be enforced, if necessary, by the army.