| Reply | « Previous Thread | Next Thread » |
|
Hi everyone,
What can I do in pys60 instead of this C++ code? C++ Code : var%256 ![]() ![]() ![]() |
|
The mod operator (%) known from C/C++ exists in Python and uses the same syntax.
Code:
print 5%2 Code:
1 |
|
Thanks a lot!
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Port base64 code to S60. | daveice | General Symbian C++ | 4 | 2007-08-10 17:07 |
| A easy way to convert PCM to AMR or vice versa in Series 60 SDK 2.x | lighthu | Symbian Media (Graphics & Sounds) | 52 | 2006-10-31 15:05 |
| GNU CPP::Problem to convert a 32bit ulong to double | akom | General Symbian C++ | 0 | 2004-03-23 12:01 |
| MMConverter 2.0. Doesn't convert bigger video files???? | Flo0911 | Streaming and Video | 3 | 2003-07-09 16:25 |
| To Liuxg,can you tell me how to convert audio file? | gamesprite | Symbian | 0 | 2003-05-18 17:08 |