Show nanoseconds in seconds using alert template

Hi, I have set alerts on GCP data and the data is coming as nanoseconds. I want to convert it to seconds in the alert message which is sent to slack.

Time Taken: 10242154500 NanoSeconds

Here is how I add in the alert template,

Time Taken: {{ $v }} Nanoseconds

Is it possible to do the following?

Time Taken: {{ $v/100000 }} Seconds